Optimal. Leaf size=104 \[ \frac {64 i a^3 \sec (c+d x)}{15 d \sqrt {a+i a \tan (c+d x)}}+\frac {16 i a^2 \sec (c+d x) \sqrt {a+i a \tan (c+d x)}}{15 d}+\frac {2 i a \sec (c+d x) (a+i a \tan (c+d x))^{3/2}}{5 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.08, antiderivative size = 104, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {3575, 3574}
\begin {gather*} \frac {64 i a^3 \sec (c+d x)}{15 d \sqrt {a+i a \tan (c+d x)}}+\frac {16 i a^2 \sec (c+d x) \sqrt {a+i a \tan (c+d x)}}{15 d}+\frac {2 i a \sec (c+d x) (a+i a \tan (c+d x))^{3/2}}{5 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3574
Rule 3575
Rubi steps
\begin {align*} \int \sec (c+d x) (a+i a \tan (c+d x))^{5/2} \, dx &=\frac {2 i a \sec (c+d x) (a+i a \tan (c+d x))^{3/2}}{5 d}+\frac {1}{5} (8 a) \int \sec (c+d x) (a+i a \tan (c+d x))^{3/2} \, dx\\ &=\frac {16 i a^2 \sec (c+d x) \sqrt {a+i a \tan (c+d x)}}{15 d}+\frac {2 i a \sec (c+d x) (a+i a \tan (c+d x))^{3/2}}{5 d}+\frac {1}{15} \left (32 a^2\right ) \int \sec (c+d x) \sqrt {a+i a \tan (c+d x)} \, dx\\ &=\frac {64 i a^3 \sec (c+d x)}{15 d \sqrt {a+i a \tan (c+d x)}}+\frac {16 i a^2 \sec (c+d x) \sqrt {a+i a \tan (c+d x)}}{15 d}+\frac {2 i a \sec (c+d x) (a+i a \tan (c+d x))^{3/2}}{5 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.47, size = 93, normalized size = 0.89 \begin {gather*} \frac {2 a^2 \sec ^2(c+d x) (i \cos (c-d x)+\sin (c-d x)) (20+23 \cos (2 (c+d x))+7 i \sin (2 (c+d x))) \sqrt {a+i a \tan (c+d x)}}{15 d (\cos (d x)+i \sin (d x))^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.61, size = 90, normalized size = 0.87
method | result | size |
default | \(\frac {2 \left (32 i \left (\cos ^{3}\left (d x +c \right )\right )+32 \left (\cos ^{2}\left (d x +c \right )\right ) \sin \left (d x +c \right )+11 i \cos \left (d x +c \right )-3 \sin \left (d x +c \right )\right ) \sqrt {\frac {a \left (i \sin \left (d x +c \right )+\cos \left (d x +c \right )\right )}{\cos \left (d x +c \right )}}\, a^{2}}{15 d \cos \left (d x +c \right )^{2}}\) | \(90\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.38, size = 83, normalized size = 0.80 \begin {gather*} -\frac {8 \, \sqrt {2} {\left (-15 i \, a^{2} e^{\left (4 i \, d x + 4 i \, c\right )} - 20 i \, a^{2} e^{\left (2 i \, d x + 2 i \, c\right )} - 8 i \, a^{2}\right )} \sqrt {\frac {a}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}}}{15 \, {\left (d e^{\left (4 i \, d x + 4 i \, c\right )} + 2 \, d e^{\left (2 i \, d x + 2 i \, c\right )} + d\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (i a \left (\tan {\left (c + d x \right )} - i\right )\right )^{\frac {5}{2}} \sec {\left (c + d x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 6.08, size = 105, normalized size = 1.01 \begin {gather*} \frac {8\,a^2\,{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}\,\sqrt {a-\frac {a\,\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}\,1{}\mathrm {i}-\mathrm {i}\right )\,1{}\mathrm {i}}{{\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1}}\,\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}\,20{}\mathrm {i}+{\mathrm {e}}^{c\,4{}\mathrm {i}+d\,x\,4{}\mathrm {i}}\,15{}\mathrm {i}+8{}\mathrm {i}\right )}{15\,d\,{\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1\right )}^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________